package com.a9_lin.www.testormlite.bean;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import java.io.Serializable;

/**
 * Created by macmini on 16/8/30.
 */
@DatabaseTable(tableName = "tb_watch")
public class Watch implements Serializable{

    private static final long serialVersionUID = 1L;

    @DatabaseField(generatedId = true)
    private int id;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @DatabaseField
    private int WacID;

    @DatabaseField
    private String IMEI;

    @DatabaseField
    private int WearerID;

    @DatabaseField
    private int Type;

    @DatabaseField
    private String Model;

    @DatabaseField
    private String BatchNo;

    @DatabaseField
    private String RegistrationTime;

    @DatabaseField
    private String SIM;

    @DatabaseField
    private int Status;

    @DatabaseField
    private int Del;

    public int getWacID() {
        return WacID;
    }

    public void setWacID(int wacID) {
        WacID = wacID;
    }

    public String getIMEI() {
        return IMEI;
    }

    public void setIMEI(String IMEI) {
        this.IMEI = IMEI;
    }

    public int getWearerID() {
        return WearerID;
    }

    public void setWearerID(int wearerID) {
        WearerID = wearerID;
    }

    public int getType() {
        return Type;
    }

    public void setType(int type) {
        Type = type;
    }

    public String getModel() {
        return Model;
    }

    public void setModel(String model) {
        Model = model;
    }

    public String getBatchNo() {
        return BatchNo;
    }

    public void setBatchNo(String batchNo) {
        BatchNo = batchNo;
    }

    public String getRegistrationTime() {
        return RegistrationTime;
    }

    public void setRegistrationTime(String registrationTime) {
        RegistrationTime = registrationTime;
    }

    public String getSIM() {
        return SIM;
    }

    public void setSIM(String SIM) {
        this.SIM = SIM;
    }

    public int getStatus() {
        return Status;
    }

    public void setStatus(int status) {
        Status = status;
    }

    public int getDel() {
        return Del;
    }

    public void setDel(int del) {
        Del = del;
    }


    @Override
    public String toString() {
        return "Watch{" +
                "WacID=" + WacID +
                ", IMEI='" + IMEI + '\'' +
                ", WearerID=" + WearerID +
                ", Type=" + Type +
                ", Model='" + Model + '\'' +
                ", BatchNo='" + BatchNo + '\'' +
                ", RegistrationTime='" + RegistrationTime + '\'' +
                ", SIM='" + SIM + '\'' +
                ", Status=" + Status +
                ", Del=" + Del +
                '}';
    }
}
